//
//  LOLFriendViewController.m
//  LOLer
//
//  Created by kaijie on 16/3/29.
//  Copyright © 2016年 kaijie. All rights reserved.
//

#import "LOLFriendViewController.h"



@interface LOLFriendViewController ()
@end

@implementation LOLFriendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor=[UIColor whiteColor];
    self.navigationItem.rightBarButtonItem=[self setRightBarButtonItem];
  
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(UIBarButtonItem*)setRightBarButtonItem{
    UIButton * btn=[[UIButton alloc]initWithFrame:CGRectMake(0, 0, 30, 30)];
    [btn addTarget:self action:@selector(hehe) forControlEvents:UIControlEventTouchDown];
    [btn setImage:[UIImage imageNamed:@"chat_new_session_normal"] forState:UIControlStateNormal];
    UIBarButtonItem * item=[[UIBarButtonItem alloc]initWithCustomView:btn];
    return item;
}

-(void)hehe{
    
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
